<template>
  <view>
    <view
      style="
        margin: 30rpx;
        background-color: #e6212a;
        height: 300rpx;
        border-radius: 20rpx;
      "
    >
      <view style="height: 50rpx"></view>
      <view style="display: flex">
        <view style="margin: 50rpx; color: white">
          <view style="font-size: 40rpx">称为VIP可获得</view>
          <view>所有商品5折</view>
        </view>
        <view>
          <image
            src="/static/imgs/svip.png"
            style="width: 320rpx; height: 140rpx"
          ></image>
        </view>
      </view>
      <!-- 年vip -->
      <view style="display: flex; color: white; font-size: 30rpx">
        <view style="margin-left: 50rpx">价格200.00元/年</view>
        <view
          style="
            margin-left: 50rpx;
            margin-top: 5rpx;
            color: gray;
            font-size: 25rpx;
          "
          >到期时间：2025-5-23:12:33</view
        >
      </view>
    </view>
    <view class="btn1"> {{ name }}</view>
    <!-- //购买vip -->
  </view>
</template>

<script>
export default {
  data() {
    return {
      name: "立即购买",
    };
  },
};
</script>

<style lang="less">
.btn1 {
  width: 93%;
  position: fixed;
  bottom: 50rpx;
  height: 100rpx;
  background-color: #22a6f2;
  color: white;
  text-align: center;
  line-height: 100rpx;
  font-size: 40rpx;
  border-radius: 20rpx;
  margin: 30rpx;
}
</style>
